package com.bed.lovewithpatientbed.pojo;

import java.io.Serializable;

/**
 * bed_status
 * @author 
 */
public class BedStatus implements Serializable {
    private Integer bedStatusId;

    private String bedStatusName;

    private Integer softdel;

    private static final long serialVersionUID = 1L;

    public Integer getBedStatusId() {
        return bedStatusId;
    }

    public void setBedStatusId(Integer bedStatusId) {
        this.bedStatusId = bedStatusId;
    }

    public String getBedStatusName() {
        return bedStatusName;
    }

    public void setBedStatusName(String bedStatusName) {
        this.bedStatusName = bedStatusName;
    }

    public Integer getSoftdel() {
        return softdel;
    }

    public void setSoftdel(Integer softdel) {
        this.softdel = softdel;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BedStatus other = (BedStatus) that;
        return (this.getBedStatusId() == null ? other.getBedStatusId() == null : this.getBedStatusId().equals(other.getBedStatusId()))
            && (this.getBedStatusName() == null ? other.getBedStatusName() == null : this.getBedStatusName().equals(other.getBedStatusName()))
            && (this.getSoftdel() == null ? other.getSoftdel() == null : this.getSoftdel().equals(other.getSoftdel()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getBedStatusId() == null) ? 0 : getBedStatusId().hashCode());
        result = prime * result + ((getBedStatusName() == null) ? 0 : getBedStatusName().hashCode());
        result = prime * result + ((getSoftdel() == null) ? 0 : getSoftdel().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bedStatusId=").append(bedStatusId);
        sb.append(", bedStatusName=").append(bedStatusName);
        sb.append(", softdel=").append(softdel);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}